package com.javaee.term.service.base;

import com.javaee.term.mapper.ContactMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface IBaseService<T> {


    T findOne(Object id);
    List<T> findAll();
    void delete(Object id);
    int insert(T t);
    int update(T t);
}
